<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/exterior/head.jsp"%>

<style>
#centerDiv{
      position:absolute;
      top:200px;
      left:50%;
      margin-left:-400px;
      width:760px;
}

#infoPublish_content {
    margin: 0 5px 0 0;
    background: url("<s:property value="ctx"/>/images/home.png") no-repeat scroll 0 0 transparent;
    border-color: #9A9A9A #CDCDCD #CDCDCD #9A9A9A;
    border-style: solid;
    border-width: 1px;
    font: 16px arial;
    height: 22px;
    padding: 4px 7px;
    vertical-align: top;
    width: 300px;
}

#infoPublish_modifiedBy{
    margin: 0 5px 0 0;
    background: url("<s:property value="ctx"/>/images/home.png") no-repeat scroll 0 0 transparent;
    border-color: #9A9A9A #CDCDCD #CDCDCD #9A9A9A;
    border-style: solid;
    border-width: 1px;
    font: 16px arial;
    height: 22px;
    padding: 4px 7px;
    vertical-align: top;
    width: 140px;
}

#infoPublish_type {
	background: url("<s:property value="ctx"/>/images/home.png") no-repeat scroll 0 0 transparent;
    border-color: #9A9A9A #CDCDCD #CDCDCD #9A9A9A;
    border-style: solid;
    border-width: 1px;
    font: 16px arial;
    height: 32px;
    vertical-align: top;
    width: 150px;
}

.searchBtnDown {
    background: url("<s:property value="ctx"/>/images/home.png") repeat scroll -100px -35px #DDDDDD;
    border: 0 none;
    cursor: pointer;
    height: 32px;
    padding: 0;
    width: 95px;
    font-size: 14px;    
}

.searchBtnOut {
    background: url("<s:property value="ctx"/>/images/home.png") repeat scroll 0 -35px #DDDDDD;
    border: 0 none;
    cursor: pointer;
    height: 32px;
    padding: 0;
    width: 95px;
    font-size: 14px;
}

.cellTxt {
    font-size: 14px;
}

</style>
	
<script type="text/javascript">
	$(document).ready(function() {
		$("#mainForm").validate();
	});
	
	function clickBtn(action,event,id){
		switch(action){
		case "search":
			  $("#mainForm").attr("action", "search.action");
			  break;
		}
		$("#mainForm").submit();
	}
</script>

<div class="content"> 
 <div class="form1" style="height:400px;">
    <div id="centerDiv">
    
  	<s:form id="mainForm" name="mainForm" action="search.action" method="post">
    <table border="0" cellspacing="5" cellpadding="0">
	      <tr>
	          <td class="cellTxt">信息类型(可选项)</td>
		      <td class="cellTxt">信息内容(可选项)</td>
		      <td class="cellTxt">人名(可选项)</td>
		      <td>&nbsp;</td>	          
	      </tr>
	      <tr>
	        <td width="200px">
	            <s:select name="infoPublish.type" id="infoPublish_type"
	            		  list="parameterManager.getByCode('PUBLISH_TYPE')" listKey="value" listValue="label"
	            		  headerKey="" headerValue="">
	            </s:select>
	         </td>
		      <td width="310px">
		            <s:textfield id="infoPublish_content" name="infoPublish.content"/>
		       </td>
	      	   <td width="150px">
		            <s:textfield id="infoPublish_modifiedBy" name="infoPublish.modifiedBy"/>
		       </td>		       
		       <td width="100px">
			       <input type="button" id="searchBtn" name="search" value="找  人" onclick="clickBtn('search');"
			              class="searchBtnOut" onmouseout="this.className='searchBtnOut'" onmousedown="this.className='searchBtnDown'"/>
		       </td>		          
	      </tr>	      
        </table>
      </s:form>
      
   </div>
</div>
</div>
<%@ include file="/common/exterior/foot.jsp" %>      	